/**
 * 
 */
package traj.core;

import java.awt.geom.Point2D;

/**
 * Trajectory Base class -- Points
 * @author Xiaohui Li
 * 
 */

public class TPoint extends Point2D.Double {
	int timestamp;
	double speed;
	long rid;
	public enum Direction {UP, DOWN};
	private Direction direction;
	public TPoint() {
		super();
	}
	public TPoint(int timestamp, double x, double y, double speed, long rid, Direction direction) {
		super(x, y);
		this.speed = speed;
		this.rid = rid;
		this.direction = direction;
		
	}
	
	
	@Override
	public double getX() {
		return super.getX();
	}

	@Override
	public double getY() {
		return super.getY();
	}

	@Override
	public void setLocation(double x, double y) {
		super.setLocation(x, y);
		
	}

}
